package com.wiken.storeservice.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wiken.storeservice.VO.CommodityCategoriesVO;
import com.wiken.storeservice.entity.Commodity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wiken.storeservice.entity.Store;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wiken
 * @since 2022-12-28
 */
public interface CommodityMapper extends BaseMapper<Commodity> {
    Store isMyStoreOfCommodity(Commodity commodity, String userId);

    Page<CommodityCategoriesVO> getCommodityListByUserId(Page page, String userId);
    void getTest();
}
